package cn.kgc.service;

import java.util.List;

import cn.kgc.entity.Dept;
import cn.kgc.entity.Emp;

public interface EmpService  {
	public Emp getEmpById(Integer id);
	
	public List<Emp> getAllEmp();
	
	public List<Dept> getAllDept();
	
	public void addEmp(Emp emp);
	
	public void updateEmp(Emp emp);
	
	public void deleteEmpById(Integer id);
	
	public Long countEmpByName(String name);
	
	public Double maxEmpSal();
}
